<script src="#CHEMIN{formulaires/alohacart_orders_statuts/alohacart_orders_statuts_js.php}"></script>

<div class='formulaire_spip'>
    [<p class="reponse_formulaire reponse_formulaire_ok">(#ENV**{message_ok})</p>]
	[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
    
    <form method='post' action='#ENV{action}' id="form_#FORM" class="list_form"><div>
			#ACTION_FORMULAIRE{#ENV{action}}			
			    
            <center><h2><:alohacart:orders_statuts_list:></h2></center>
            <table align="center" style="width: 30%;">
            <tbody class="elements_container">        
        <BOUCLE_statuts(ALOHACART_ORDERS_STATUTS){par num titre}{pagination 50}>
            <tr>            
	            <td>                    
                    <input type="text" name="elements_update[#ID_STATUT][titre]" value="#TITRE**" style="width: 400px;" />
                </td>
                <td>
                    <a href="javascript:;" data-element-id="#ID_STATUT" class="delete_link"><:alohacart:delete:></a>  
                </td>            
		    </tr>
        </BOUCLE_statuts>
        <tr><td colspan="3"><center>#PAGINATION</center></td></tr>
            </B_statuts>
        <tr><td colspan="2"><center><strong class="caption"><:alohacart:no_orders_statuts:></strong></center></td></tr>
            <//B_statuts>
            </tbody>
            </table>
			<div style="font-weight: bold; width: 100%; text-align: center;">
                <:ecatalogue:form_save_to_change:>
            </div>
			<p class='boutons'>
                <input type='button'  onclick="javascript:window.location.reload();" name='cancel_button' value='<:ecatalogue:cancel:>' />
                <input type='button' class="add_field_button" name='add_field_button' value='<:alohacart:add_order_statut:>' />
				<input type='submit' name='save_submit' value='<:bouton_enregistrer:>' />
			</p>			
		</div>
    </form>
</div>